package edu.spec.wfl.week05.class2;

public class Animal {
    private String name;
    private String gender;
    private int age;
    private String food;

    public Animal(){}

    public 	Animal(String name,String gender,int age,String food){
        this.name=name;
        this.gender=gender;
        this.age=age;
        this.food=food;
    }

    public void born(){
        System.out.println("I was born with name " + this.name);
    }
    public void eat(){
        System.out.println("I am " + name + ",I eat"+food);
    }
    public void breed(){
        System.out.println("I breed fast!");
    }
}
